package com.liusand.service;

import com.liusand.dto.DishFlavorsDto;
import com.liusand.pojo.PageInfo;
import com.liusand.vo.ClientDishVo;
import com.liusand.vo.DishFlavorsVo;
import com.liusand.vo.DishVo;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :DishService
 * creationTime :2022/11/23 21:03
 */
public interface DishService {
   DishFlavorsVo findDishFlavorsVoById(String id);

   PageInfo<DishVo> page(String name, Integer page, Integer pageSize, String type);

   List<DishFlavorsVo> list(String id);

   boolean saveDish(DishFlavorsDto dishFlavorsDto);

   boolean updateDish(DishFlavorsDto dishFlavorsDto);

   boolean deleteDish(List<String> ids);

   boolean updateStatus(Integer status, List<String> ids);

   List<ClientDishVo> clientList(String categoryId, Integer status);
}
